package com.hangxintong.common.feign;

import com.hangxintong.common.base.entity.LmCompanyAccount;
import com.hangxintong.common.config.FeignConfiguration;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * @Auther: tsj
 * @Date: 2020/12/11 15:07
 * @Description:
 */
@FeignClient(value = "coalition",configuration = FeignConfiguration.class)
public interface CompanyAccountFegin {

     @GetMapping("/openFegin/member/findByCompanyCode")
     LmCompanyAccount findByCompanyCode(@RequestParam("companyCode") String companyCode);
     /**
     * @Description
     * @Author  Bz.Mr
     * @Date   2021/1/23 9:37
     *
     */
     @RequestMapping(value = "/openFegin/member/changeCompany",method = RequestMethod.GET)
     List<Long> changeCompany();

}
